package com.is.export.control;

/**
 * 控制导出数据时候要导出的选项列
 */
import java.util.LinkedHashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;

public class SelectOptionValue {
	
	public static LinkedHashMap<String, String> StudentOptions(){
		LinkedHashMap<String,String> stuOptions = new LinkedHashMap<String, String>();
//		int i=0;
		stuOptions.put("getChineseName", "中文姓名");
		stuOptions.put("getPassportName","护照用名");
		stuOptions.put("getNationality", "国籍");
		stuOptions.put("getNationalityEn", "国籍(英)");
		stuOptions.put("getSex", "性别");
		stuOptions.put("getClassId", "班级");
		stuOptions.put("getCscNumber", "CSC编号");
		stuOptions.put("getBirthday", "出生日期");
		stuOptions.put("getPassportNumber", "护照号码");
		stuOptions.put("getDuration", "学习时间");
		stuOptions.put("getUniversity", "专业院校");
		stuOptions.put("getMajor", "专业");
		stuOptions.put("getLevel", "类别");
		stuOptions.put("getScholarshipType", "经费办法");
		stuOptions.put("getType", "其他");
		stuOptions.put("getTip", "备注");
		return stuOptions;
		
	}
	
	public static LinkedHashMap<String, String> AttendanceOptions(){
		LinkedHashMap<String,String> attOptions = new LinkedHashMap<String, String>();
		attOptions.put("getStuName", "中文姓名");
		attOptions.put("getCourseName", "课程名");
		attOptions.put("getCount2","迟到");
		attOptions.put("getCount3","缺勤");
		attOptions.put("getCount4","病假");
		attOptions.put("getCount5","事假");
		attOptions.put("getTotalDM","点名次数");
		attOptions.put("getTotalQQ","折合缺勤");
		attOptions.put("getQJpercentage","缺勤率");
		return attOptions;
		
	}
	
	public static LinkedHashMap<String, String> Dic_HomeOptions(){
		LinkedHashMap<String,String> attOptions = new LinkedHashMap<String, String>();
		attOptions.put("getStuName", "中文姓名");
		attOptions.put("getCourseName", "课程名");
		attOptions.put("getA","A(次)");
		attOptions.put("getB","B(次)");
		attOptions.put("getC","C(次)");
		attOptions.put("getD","D(次)");
		return attOptions;
		
	}
	
	
	public static LinkedHashMap<String, String> AssessOptions(){
		LinkedHashMap<String,String> attOptions = new LinkedHashMap<String, String>();
		attOptions.put("getTeacherName", "姓名");
		attOptions.put("getClassName","班级");
		attOptions.put("getCourseName","课程");
		attOptions.put("getTotalWork","工作量(课时)");
		attOptions.put("getEW","额外");
		attOptions.put("getQQ","缺勤");
		attOptions.put("getQJ","请假");
		return attOptions;
		
	}
	
	public static LinkedHashMap<String, String> ScoreOptions(){
		LinkedHashMap<String,String> attOptions = new LinkedHashMap<String, String>();
		attOptions.put("getStuName", "中文姓名");
		attOptions.put("getCourseName", "课程名");
		attOptions.put("getAttScore", "出勤成绩");
		attOptions.put("getDailyScore", "平时成绩");
		attOptions.put("getMidtermScore", "期中成绩");
		attOptions.put("getFinalScore", "期末成绩");
		attOptions.put("getTotalScore", "总成绩");
		return attOptions;
		
	}
	
	
	public static LinkedHashMap<String, String> OnceTime(){
		LinkedHashMap<String,String> attOptions = new LinkedHashMap<String, String>();
		attOptions.put("getStuName", "中文姓名");
		attOptions.put("getResult", "结果");
		return attOptions;
		
	}
	
	
	public static void main(String  []args)  {
		LinkedHashMap<String,String> map = AssessOptions();
//		Iterator it = map.entrySet().iterator();
//		while(it.hasNext()){
//			Entry entry = (Entry)it.next();
//			System.out.println(entry.getKey()+"   "+entry.getValue());
//		
//	     }
		for(Map.Entry<String, String> mi:map.entrySet()){
			System.out.println(mi.getKey()+"  "+mi.getValue());
		}
	}

}
